:root {
  /* 站点主题颜色，会被 globalModelState里的颜色填入 */
  --lra-theme-color: #074ed2;
  --lra-theme-color-rgb: 0, 0, 0;
  --lra-theme-color-light: #8bb3fb;
  --lra-theme-color-bg: #e6f8fe;
  --lra-theme-color-grey: #f0f2f5;
}

/** 美化滚动条 [Start] */
.smallScBar::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}

.smallScBar::-webkit-scrollbar-track {
  width: 5px !important;
  background: hsla(0, 0%, 100%, 0.1) !important;
  /* background: rgba(#101F1C, 0.5); */
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

.smallScBar::-webkit-scrollbar-thumb {
  /* background-color: rgba(#1f8ff8, 1.0); */
  background: hsla(0, 0%, 100%, 0.2) !important;
  background-color: #c1c1c1 !important;
  background-clip: padding-box;
  min-height: 28px;
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius: 2em;
}

.smallScBar::-webkit-scrollbar-thumb:hover {
  /* background-color: rgba(#101F1C, 1); */
  /* background-color: #1f8ff8; */
  background-color: var(--lra-theme-color) !important;
}

/** 美化滚动条 [End] */

.myAntMsg {
  z-index: 99999999992;
}

.ant-message {
  z-index: 99999999992;
}

.gHover:hover {
  cursor: pointer;
}

.gMenuItemHover:hover {
  cursor: pointer;
  color: white;
}

.gMenuItemHoverBlue:hover {
  cursor: pointer;
  color: var(--lra-theme-color);
  outline: 1px dashed #007acd;
}

.gHoverTransToBlue {
  cursor: pointer;
  /* color: transparent; */
}

.gHoverTransToBlue:hover {
  cursor: pointer;
  color: var(--lra-theme-color);
  background-color: #d6e4ff;
}

.hubShine {
  background: #222 -webkit-gradient(linear, left top, right top, from(#222), to(#222), color-stop(0.5, #fff)) 0 0 no-repeat;
  -webkit-background-size: 122px;
  color: rgba(255, 255, 255, 0.3);
  -webkit-background-clip: text;
  -webkit-animation-name: hubShine;
  -webkit-animation-duration: 5s;
  -webkit-animation-iteration-count: infinite;
  text-shadow: 0 0px 0px rgba(255, 255, 255, 0.5);
}

@keyframes hubShine {
  0%,
  10% {
    background-position: -1000px;
  }

  20% {
    background-position: top left;
  }

  90% {
    background-position: top right;
  }

  100% {
    background-position: 1000px;
  }
}
